package com.mtnz.njk.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Description: 用户任务
 * @Author: ZPX
 * @CreateDate: 2019/7/22 15:54
 * @Version: 1.0
 */
@Data
@Table(name = "user_task")
public class UserTaskEntity {
    //用户任务ID
    @Id
    @Column(name = "user_task_id")
    private Integer userTaskId;
    //用户ID
    @Column(name = "user_id")
    private String userId;
    //每日签到
    @Column(name = "daily_status")
    private Integer dailyStatus;
    //完善资料
    @Column(name = "integral_status")
    private Integer integralStatus;
    //提问   回复
    @Column(name = "quiz_status")
    private Integer quizStatus;
    // 研究院
    @Column(name = "research_status")
    private Integer researchStatus;
    //分享
    @Column(name = "share_status")
    private Integer shareStatus;
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @Column(name = "update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    //提问数
    @Column(name = "quiz_num")
    private Integer quizNum;
    //研究院数
    @Column(name = "research_num")
    private Integer researchNum;
    //分享数
    @Column(name = "share_num")
    private Integer shareNum;

}
